import React from 'react'
import { Goods } from './Goods/Goods'
import classes from './GoodsList.module.css'


export const GoodsList = (props) => {
  const addCounter = (goods) => {

  }
  const reduceCounter = (goods) => {

  }
  return (
    <div className={classes.goodsListContainer}>
      {
        props.goodsList.map( item => <Goods goodsData={item} key={item.id}></Goods> )
      }
    </div>
  )
}
